<div class="search-list-item"  xmlns:th="http://www.thymeleaf.org" th:each="var,i:${pu.getData()}" th:if="${var.getType()==20}">
    <div class="search-item-text">
        <div class="search-item-title">
            <a th:href="@{'/answers/'+${var.aid}}" >
                <span  class="searList" th:text="${var.getTitle()}">拔牙三天后，可以刷牙了吗?</span>
            </a>
        </div>
        <div class="search-item-desc">
            <a th:href="@{'/answers/'+${var.aid}}" >
                <span class="searList" th:text="${var.getIntroduction()}">拔牙三天后是可以正常刷牙的，但是尽量避免刺激到拔牙创口的位置。</span>
            </a>
        </div>
        <div class="list-item-info">
            <a th:href="${'/answers/main?indexPage=1&toothType='+var.tid}"><span class="tui-jian" th:text="${var.tname}">拔牙</span></a>
            <a th:href="${'/user/personage/'+var.uid}" class="user-img-name">
                <img th:src="${var.getUimgpath()}">
                <span class="user-name" th:value="${var.getUid()}" th:text="${var.getUsername()}">侍画</span>
            </a>

            <div class="ping-lun">
                <a th:href="@{'/answers/'+${var.aid}}">
                    <img src="/searchSatic/pinglun.png"><span th:text="${var.getAnswer_count()}">2</span>回答
                </a>
            </div>
            <div class="shou-cang">
                <a th:href="@{'/answers/'+${var.aid}}">
                    <img src="/searchSatic/shoucang.png"><span th:text="${var.getCollection_count()}">2</span>收藏
                </a>
            </div>
            <div class="yue-du">
                <a th:href="@{'/answers/'+${var.aid}}">
                    <img src="/searchSatic/yuedu.png"><span th:text="${var.getRead_count()}">35阅读</span>
                </a>
            </div>
            <span class="dotted">·</span>
            <span class="time-before" th:text="${#dates.format(var.getTime(), 'yyyy-MM-dd HH:mm')}">2020-07-22</span>
        </div>
    </div>
</div>
<div class="search-list-item" xmlns:th="http://www.thymeleaf.org" th:each="var,i:${pu.getData()}" th:if="${var.getType()==10}">
    <div class="search-item-left">
        <a th:href="${'/consult/solo/'+var.aid}">
            <img th:src="${var.imgpath}" alt="有贝口腔网">
        </a>
    </div>
    <div class="search-item-right">
        <div class="search-item-title">
            <a th:href="${'/consult/solo/'+var.aid}">
                <span class="searList" th:text="${var.getTitle()}">注意！吃烧烤也会导致蛀牙</span>
            </a>
        </div>
        <div class="search-item-desc">
            <a th:href="${'/consult/solo/'+var.aid}">
                <span class="searList" th:text="${var.getIntroduction()}">提起烧烤，相信很多朋友此时咽了咽口水，烧烤可谓是生活中不可或缺的美食，每次工作完，约上三两好友撸串，诉说心中烦闷，是当代人的生活写照。然而，最近英国一项研究却发现烧烤会导致蛀牙的出现。</span>
            </a>
        </div>
        <div class="list-item-info">
            <a th:href="${'/consult/type/?type='+var.tid}"><span class="tui-jian" th:value="${var.getTid()}" th:text="${var.tname}">龋齿</span></a>
            <!-- <span class="come-on" th:text="${vo.sourceName}"></span> -->

            <div class="ping-lun">
                <a th:href="${'/consult/solo/'+var.aid}">
                    <img src="/icon/pinglun.png">
                    <span th:text="${var.getAnswer_count()}">0</span>评论
                </a>
            </div>
            <div class="shou-cang">
                <a th:href="${'/consult/solo/'+var.aid}">
                    <img src="/icon/shoucang.png">
                    <span th:text="${var.getCollection_count()}">1</span>收藏
                </a>
            </div>

            <div class="yue-du">
                <a th:href="${'/consult/solo/'+var.aid}">
                    <img src="/icon/yuedu.png">
                    <span th:text="${var.getRead_count()}">1067</span>阅读
                </a>
            </div>
            <span class="dotted">·</span>
            <span class="time-before" th:text="${#dates.format(var.getTime(), 'yyyy-MM-dd HH:mm')}">2020-08-01</span>
        </div>
    </div>
</div>